<?php include_once './header.php'; ?>
<? 
include('config.php'); 
$idAlojamiento = (int) $_GET['idAlojamiento']; 
mysql_query("DELETE FROM `alojamientos` WHERE `idAlojamiento` = '$idAlojamiento' ") ; 
echo (mysql_affected_rows()) ? "Row deleted.<br /> " : "Nothing deleted.<br /> "; 
?> 

<a href='listAloja.php'>Back To Listing</a>

<?php include_once './footer.php'; ?>